package com.zhouchao.dubbo.controller;

import com.zhouchao.dubbo.service.TestServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: zhouchao
 * @Date: 2021/09/19 18:38
 * @Description:
 */
@RestController
public class TestController {

    @Autowired
    private TestServiceImpl testService;

    @GetMapping("test")
    public String test(){
        return testService.test();
    }

}
